package main

import (
	"fmt"
	"log"
	"my-first-app/app/hello"
	"my-first-app/app/myFunc"
)

func main() {
	println("hello go !")
	log.Println("hello go")

	mainStudy()

	hello.Hello1()

}

func mainStudy() {

	fmt.Printf("hi ,this is %d %X", 2, 234)

	fmt.Println("result: ", hello.Add(5, 2))
	fmt.Println("result: ", myFunc.Add(7, 2))

	hello.OperatorTest()

	hello.LogicTest()

	hello.BitOperatorTest()

	hello.ChoiceTest()

	//hello.Select()  // 待研究

	hello.ForTest()

	hello.FuncTest()

	hello.CallbackTest2()

	hello.ClosureTest3()

	hello.StructTest4()

	hello.ArrayTest1()

	hello.PointerTest()

	hello.PointerTest2()

	hello.PointerTest3()

	hello.StructTest1()

	hello.RangeTest1()

	hello.SliceTest1()

	hello.SliceTest2()

	hello.MapTest1()

	hello.InterfaceTest1()

	hello.ErrorTest1()

	hello.ParallelTest1()

	hello.ChannelTest1()

	hello.EnumTest1()

	hello.FormatTest1()

	hello.ReadWriteTest()

	hello.DeferTest()

}
